﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
using IronPython.Hosting;

namespace Lib.Listeners
{
    class PythonMoves
    {
        public int Moves()
        {
            var ironPythonRuntime = Python.CreateRuntime();
            dynamic loadIPython = ironPythonRuntime.UseFile(@"C:\Users\Fede\Documents\Facultad\IA\Obligatorio\Lib\bin\Debug\Lib\Translate.py");
            var tablero = loadIPython.Moves();
            return Convert.ToInt32(tablero);
        }
    }
}
